package com.lkj.dao;

import org.springframework.stereotype.Component;

@Component("indexDao")
public class IndexDao {

    public String getNameById(String id) {
        if (id.equals("12")){
            return "jason";
        }
        return "lkj";
    }
}
